package com.ym.medical.domain.entity;

import com.ym.common.constant.BaseEntity;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Table;

/**
 * 云信对象 yunxin_user
 *
 * @author ym
 * @date 2020-08-17
 */
@ApiModel("云信-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "yunxin_user")
public class YunxinUserEntity extends BaseEntity{

    private static final long serialVersionUID = 1L;

    /**
     * 用户id
     */
    @ApiModelProperty("用户id")
    private Long userId;

    /**
     * 云信账号
     */
    @ApiModelProperty("云信账号")
    private String accid;

    /**
     * 云信昵称
     */
    @ApiModelProperty("云信昵称")
    private String name;

    /**
     * 头像
     */
    @ApiModelProperty("头像")
    private String icon;

    /**
     * token
     */
    @ApiModelProperty("token")
    private String token;

    /**
     * 签名
     */
    @ApiModelProperty("签名")
    private String sign;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private String createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private String updateTime;

}
